local skel=fk.CreateSkill{
    name = "steam__yuxianquzhi_viewas",
}

skel:addEffect("viewas",{
    pattern = "snatch",

    card_filter = function(self, player, to_select, selected)
      return #selected<self.yuxianquzhi_num  and table.contains(player:getCardIds("he"), to_select)
    end,
    view_as = function(self, player, cards)
      if #cards ~=player:getMark("steam__yuxianquzhi_num")  then return end
      local use_card = Fk:cloneCard("snatch")
      use_card:addSubcards(cards)
      use_card.skillName = "steam__yuxianquzhi"

      return use_card
    end,
})






return skel